var express = require('express');
var router = express.Router();
var CtrlData = require("../controllers/product.controller");
router.post('/', CtrlData.create);
router.put('/:id', CtrlData.update);
router.delete('/:id', CtrlData.remove);
router.post('/list', CtrlData.list);
router.get('/:id', CtrlData.get);
router.post('/removes', CtrlData.removes);
module.exports = router;